package marker.micro.sys.domain;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

import marker.micro.common.BaseVisibleID;

/**
 * 信帖
 * @author ljh_2015
 *
 */
@Entity
@Table(name="_pub")
public class Pub extends BaseVisibleID{

    /**
     * 
     */
    private static final long serialVersionUID = 6602955628145143590L;

    /**
     * 标题
     */
    private String title;
    
    /**
     * 内容
     */
    @Lob
    private String text;
    
    private String authorId;
    
    private String authorName;
    
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }
    
    
}
